package lab02.Test13;

/**
 * Created by lenovo on 2017/10/20.
 */
public class Test {
    public static void main(String[] args) {
        Gymnastics gymnastics = new Gymnastics();
        double[] scores = new double[]{78, 56, 98, 12, 87};
        System.out.println("去掉一个最低分，去掉一个最高分，然后求平均分为："+gymnastics.average(scores));

        School school = new School();
        System.out.println("总分除以总科目后，平均分为："+school.average(scores));



    }
}
